<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>WDShare管理中心-修改单页面</title>
<meta name="auther" content="F7" />
<% include ../etc/htmlhead.ejs %>
<script src="/static/ueditor/manage.ueditor.config.js"></script>
<script src="/static/ueditor/ueditor.all.min.js"> </script>
<script src="/static/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>

<body>
<% include ../etc/head.ejs %>
<div class="manage">
  <% include ../etc/left.ejs %>
  <div class="manage-right">
    <h1 class="manage-title">单页面管理</h1>
    <div class="manage-module">
      <form id="js-articleCrumbs-create-form">
        <input type="hidden" name="aid" value="<%=result._id%>" />
        <div class="manage-module-head">
          <h3 class="manage-module-title">修改单页面</h3>
          <div class="manage-tool">
            <input class="green" name="submitbutton_head" type="submit" value="提交"/>
            <input class="gray" type="reset" value="重置"/>
          </div>
        </div>
        <div class="manage-module-con">
          <div class="manage-addActive-form">
            <div class="manage-addActive-form-item">
              <label><strong>页面标题：</strong><input type="text" name="title" value="<%=result.title%>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>URL标识：</strong><%=result.url%></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>使用模板：</strong><input type="text" name="template" value="<%=result.template ? result.template : ''%>" /><span>留空代表使用默认模板</span></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>内容：</strong></label>
            </div>
            <div class="editor-box"><textarea name="content" id="editor" style="height:400px;"><%-result.content%></textarea></div>
            
            <div class="manage-addActive-form-item manage-form-but">
              <input class="green" name="submitbutton" type="submit" value="提交"/>
              <input class="gray" type="reset" value="重置"/>
            </div>
          </div>
        </div>
      </form>
    </div>
    
  </div>
</div>

<% include ../etc/foot.ejs %>
<script>
  var ue = UE.getEditor('editor');
</script>
</body>
</html>